<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>员工团检订单详情</title>
  <link rel="stylesheet" type="text/css" href="../../../themes/default/easyui.css">
  <link rel="stylesheet" type="text/css" href="../../../themes/icon.css">
  <script type="text/javascript" src="../../../easyui/js/jquery.min.js"></script>
  <script type="text/javascript" src="../../../easyui/js/jquery.easyui.min.js"></script>
  <style>
    * {
      padding: 0;
      margin: 0;
    }
    body {
      font-size: 14px;
      background-color: #eee;
    }
    a {
      display: inline-block;
      text-decoration: none;
      color: #000;
      padding: 0;
      margin: 0;
    }
    .content{
      height: 100%;
      padding: 30px;

    }
    .content_title {
      height: 50px;
      line-height: 50px;
      border-bottom: 1px solid #000;
    }
    .content-left-right{
      display: flex;
      width: 100%;
      height: 100%;
      margin-top: 20px;
    }

    .content_left {
      width: 30%;
      margin-right: 20px;
    }
    .content_left .left_item {
      background: #fff;
      border-radius: 10px;
      padding: 10px 0;
      margin-bottom: 20px;
    }
    .left_item h3 {
      padding-left: 10px;
      font-size: 16px;
    }
    .left_item ul {
      list-style: none;
      margin-top: 20px;
      padding-left: 50px;
    }
    .left_item ul li {
      margin-bottom: 10px;
    }


    .content_right{
      width: 70%;
      /* background: #fff;
      border-radius: 10px; */
      /* padding: 30px; */
    }
    .content_right .content_right_top {
      width: 100%;
      height: 140px;
      background: #fff;
      border-radius: 10px;
      display: flex;

    }
    .top_status img {
      width: 50px;
      height: 50px;
    }
    .top_status {
      padding-top: 45px;
      height: 140px;
      margin-left: 30px;
      display: flex;
    }
    .top_status h2 {
      height: 50px;
      line-height: 50px;
      font-size: 20px;
      margin-left:10px ;
    }
    .top_statusList ul {
      display: flex;
      justify-content: space-between;
      list-style: none;
      margin-left: 30px;
      margin-top: 20px;
    }
    .top_statusList ul .status_item {
      width: 100px;
      height: 100px;
      /* background: red; */
    }
    .top_statusList  .status_item .title{
      font-size: 14px;
      font-weight: 700;
      text-align: center;
    }
    .top_statusList .status_item img {
      width: 30px;
      height: 30px;
      margin-left: 35px;
      margin-top: 20px;
    }
    .top_statusList .status_item .time {
      width: 100%;
      font-size: 10px;
      margin-top: 5px;
      text-align: center;
    }
    .top_statusList .status_item .markNum {
      width: 30px;
      height: 30px;
      line-height: 30px;
      text-align: center;
      border-radius: 50%;
      margin-left: 35px;
      margin-top: 20px;
      background: #ccc;
      color: #4B7902;
      font-size: 16px;

    }
    .content_right_bottom {
      background: #fff;
      width: 100%;
      border-radius: 10px;
      margin-top: 15px;
      padding: 10px;
    }
    .order-number-time-serial{
      margin: 10px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .order-number{
      font-size: 16px;
      font-weight: bold;
    }
    .time-serial{
      display: flex;
      align-items: center;
    }
    .serial-number{
      margin-left: 20px;
    }
    .order-information{
      margin: 10px;
      display: flex;
      justify-content: space-between;
    }
    .left-item{
      margin-top: 10px;
      font-size: 16px;
      display: flex;
      align-items: center;
    }
    .right-item{
      margin-top: 10px;
      font-size: 14px;
      display: flex;
      align-items: center;
    }
    .left-item:first-child, .right-item:first-child{
      margin-top: 0;
    }
    .order-progress{
      margin-top: 10px;
      margin-bottom: 20px;
    }
    .order-progress-title{
      font-size: 16px;
      font-weight: bold;
    }
    .order-progress-content{
      margin-top: 10px;
    }
    .op-item{
      display: flex;
    }
    .op-left{
      font-weight: bold;
      font-size: 12px;
      text-align: right;
      width: 140px;
      padding-bottom: 10px;
    }
    .op-middle{
      margin: 0 10px 0 10px;
      display: flex;
      align-items: center;
      flex-direction: column;
    }
    .op-middle-top{
      width: 15px;
      height: 15px;
      border-radius: 50%;
      border: 1px solid rgba(64, 158, 255, 1);
    }
    .op-middle-vertical{
      width: 1px;
      background-color: #dddddd;
      flex: 1;
    }
    .op-right{
      display: flex;
      flex-direction: column;
    }
    .op-right-operate{
      color: orange;
    }
    .op-right-tip{
      font-size: 12px;
      color: #dddddd;
    }
  </style>
</head>
<body>
<div class="content">
  <h3 class="content_title">员工团检订单详情</h3>
  <div class="content-left-right">
    <div class="content_left">
      <div class="left_item">
        <h3>订单信息</h3>
        <ul>
          <li>订单来源: 微信公众号</li>
          <li>订单类型: 团检</li>
          <li>用户名: 微信登录用户名</li>
          <li>用户ID: 13566665555</li>
          <li>预约单号: 1545413213215351321</li>
        </ul>
      </div>
      <div class="left_item">
        <h3>体检人信息</h3>
        <ul>
          <li>姓名: 张龙龙</li>
          <li>性别: 男</li>
          <li>年龄: 15岁</li>
          <li>联系电话:  13555559999</li>
          <li>证件类型: 居民身份证（户口簿）</li>
          <li>证件号码: 110101200505040013</li>
          <li>婚姻状况: 已婚</li>
          <li>体检号: 215656515</li>
          <li>企业名称: 山西欣欣信息科技有限公司</li>
          <li>企业统一信用代码: 1256151231231s21151</li>
          <li>团检结算方式: 自选套餐(限额)</li>
          <li>套餐限额: 500.00元</li>
        </ul>
      </div>
      <div class="left_item">
        <h3>体检信息</h3>
        <ul>
          <li>体检预约时间: 2024.08.29 08:00-09:00</li>
          <li>体检报告领取方式: 邮寄</li>
          <li>收件人姓名: 张辉</li>
          <li>联系电话:  13555559999</li>
          <li>所在地区: 山西省-太原市-平阳路街道</li>
          <li>详细地址: 平阳路35号</li>
        </ul>
      </div>
      <div class="left_item">
        <h3>会员信息</h3>
        <ul>
          <li>姓名: 张龙龙</li>
          <li>证件号码: 110101200505040013</li>
          <li>会员卡号: 15615612562</li>
          <li>企业名称:  山西欣欣信息科技有限公司</li>
        </ul>
      </div>
    </div>
    <div class="content_right">
      <div class="content_right_top">
        <div class="top_status">
          <img src="images/u111.png" alt="">
          <h2>订单状态: 待体检</h2>
        </div>
        <div class="top_statusList">
          <ul>
            <li class="status_item">
              <div class="title">提交订单</div>
              <img src="images/u108.png" alt="">
              <p class="time">2023-01-02  13:57:25</p>
            </li>
            <li style="width: 30px;height: 2px;background: #ccc;margin-top: 55px;"></li>
            <li class="status_item">
              <div class="title">付款成功</div>
              <img src="images/u108.png" alt="">
              <p class="time">2023-01-02  13:57:25</p>
            </li>
            <li style="width: 30px;height: 2px;background: #ccc;margin-top: 55px;"></li>
            <li class="status_item">
              <div class="title">现场签到</div>
              <div class="markNum">3</div>
            </li>
            <li style="width: 30px;height: 2px;background: #ccc;margin-top: 55px;"></li>
            <li class="status_item">
              <div class="title">体检完成</div>
              <div class="markNum">4</div>
            </li>
            <li style="width: 30px;height: 2px;background: #ccc;margin-top: 55px;"></li>
            <li class="status_item">
              <div class="title">体检电子报告</div>
              <div class="markNum">5</div>
            </li>
            <li style="width: 30px;height: 2px;background: #ccc;margin-top: 55px;"></li>
            <li class="status_item">
              <div class="title">体检报告邮寄</div>
              <div class="markNum">6</div>
            </li>

          </ul>
        </div>
      </div>
      <div class="content_right_bottom">
        <h4>体检项目</h4>
        <div class="order-number-time-serial">
          <div class="order-number">订单号：156165156651132</div>
          <div class="time-serial">
            <div class="order-time">下单时间: 2023-05-06  09:25:35</div>
            <div class="serial-number">交易流水号: 15615615151516156666</div>
          </div>
        </div>
        <div class="order-table">
          <table id="orderTable" class="easyui-treegrid" style="width:800px;min-height:200px">
            <thead>
              <tr>
                <th data-options="field:'ordinal',width:80,align:'center'">序号</th>
                <th data-options="field:'ifPackage',width:200,align:'center'">是否套餐</th>
                <th data-options="field:'name',width:200,align:'center'">套餐/项目名称</th>
                <th data-options="field:'price',width:100,align:'center'">价格</th>
                <th data-options="field:'physicalProgress',width:120,align:'center'">体检进度</th>
                <th data-options="field:'operate',width:100,align:'center'">操作</th>
              </tr>
            </thead>
          </table>
        </div>
        <div class="order-information">
          <div class="order-infor-left">
            <div class="left-item">订单总价：￥1000.00</div>
            <div class="left-item">共减 <div style="color: orange;margin-left: 20px">减￥600.00</div></div>
            <div class="left-item">实付款：<div style="color: red">￥400.00</div></div>
          </div>
          <div class="order-infor-right">
            <div class="right-item">企业团检 <div style="color: orange;margin-left: 20px">减￥500.00</div></div>
            <div class="right-item">会员卡 <div style="color: orange;margin-left: 20px">减￥100.00</div></div>
            <div class="right-item">普通卡 ￥50.00</div>
            <div class="right-item">九折卡 ￥50.00</div>
          </div>
        </div>
        <div class="order-progress">
          <div class="order-progress-title">订单进度</div>
          <div class="order-progress-content">
            <div class="op-item">
              <div class="op-left">2024-06-05   12:00:25</div>
              <div class="op-middle">
                <div class="op-middle-top"></div>
                <div class="op-middle-vertical"></div>
              </div>
              <div class="op-right">
                <div class="op-right-operate">提交订单</div>
              </div>
            </div>
            <div class="op-item">
              <div class="op-left">2024-06-05   12:00:25</div>
              <div class="op-middle">
                <div class="op-middle-top"></div>
                <div class="op-middle-vertical"></div>
              </div>
              <div class="op-right">
                <div class="op-right-operate">提交订单</div>
                <div class="op-right-tip">退款原因：项目多选  申请说明：选择加项时选错了</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script>
  $(function () {
    const data = [
      {
        ordinal: 1,
        ifPackage: '套餐',
        name: '2024在职体检',
        price: '800',
        operate: '退款',
        children: [
          {
            name: '血生化检验',
            physicalProgress: '未检'
          },
          {
            name: '血生化检验',
            physicalProgress: '未检'
          }
        ]
      },
      {
        ordinal: 2,
        ifPackage: '套餐',
        name: '2024在职体检',
        price: '800',
        operate: '退款'
      }
    ]
    // 给table动态赋值
    $("#orderTable").treegrid('loadData', data)
  })
</script>
</body>
</html>
